<!--
 * @FilePath     : /jquery/demo/101-20.html
 * @Description  : $.escapeSelector(selector)
 * @Date         : 2025-03-27 14:07:13
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-03-27 14:08:49
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>documentName</title>
    <link rel="stylesheet" href="" />
  </head>
  <body>
    <h2>jq_page</h2>

    <div class="notMe">div class="notMe"</div>
    <div class=".box myClass">div class=".box myClass"</div>
    <div class=".box">span class=".box"</div>

    <script src="/library/jquery.min.js"></script>
    <script src="/common/common.js"></script>
    <script>
      console.log($('div').find('.' + $.escapeSelector('.box')))
      /*
      [
        <div class=".box myClass">div class=".box myClass"</div>,
        <div class=".box">span class=".box"</div>
      ]
      */
    </script>
  </body>
</html>
